import FSMBlackboard from "./FSMBlackboard";
import FSMCondition from "./FSMCondition";

export default class FSMConditionTrigger extends FSMCondition<boolean> {
    public tick(data: FSMBlackboard): boolean {
        super.tick(data);
        data.setData(this.dataName, false);
        return this._currValue;
    }
}
